package com.audi.box.service;

import java.util.ArrayList;

import com.audi.dto.SmartTriggerWhenTriggerItem;

public interface SmartTriggerWhenTriggerService {
    public int addSmartTriggerWhenTrigger(SmartTriggerWhenTriggerItem trigger);
    
    public int updateSmartTriggerWhenTrigger(SmartTriggerWhenTriggerItem trigger);
    
    public boolean isExist(SmartTriggerWhenTriggerItem trigger);
    
    public ArrayList<SmartTriggerWhenTriggerItem> getListSmartTriggerWhenTrigger();
    
    public SmartTriggerWhenTriggerItem getSmartTrigger(int whenTriggerId);
    
    public int deleteSmartTriggerWhenTrigger(SmartTriggerWhenTriggerItem trigger);
    
    public int setOnOffSmartTrigger(SmartTriggerWhenTriggerItem trigger);
}
